
package com.bizfty.api.commons.beans.faults;

import com.bizfty.api.commons.beans.FaultInfo;
import javax.xml.ws.WebFault;


@WebFault(name = "BusinessException", targetNamespace = "http://faults.commons.beans.api.bizfty.com")
public class BusinessException extends Exception {

    private FaultInfo businessException;

    public BusinessException() {
        super();
    }

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(String message, java.lang.Throwable cause) {
        super(message, cause);
    }

    public BusinessException(String message,FaultInfo businessException) {
        super(message);
        this.businessException = businessException;
    }

    public BusinessException(String message, FaultInfo businessException, java.lang.Throwable cause) {
        super(message, cause);
        this.businessException = businessException;
    }

    public FaultInfo getFaultInfo() {
        return this.businessException;
    }
}
